package com.ruoyi.system.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 预存款管理对象 pre_pay
 * 
 * @author YuKunXu
 * @date 2024-03-01
 */
public class PrePay extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 预存款Id */
    @Excel(name = "预存款Id")
    private Long id;

    /** 商铺Id */
    @Excel(name = "商铺Id")
    private Long shopId;

    /** 业主Id */
    private Long clientId;

    /** 客户姓名 */
    @Excel(name = "客户姓名")
    private String clientName;

    /** 预存款状态 */
    @Excel(name = "预存款状态")
    private Long status;

    /** 可用收费项 */
    private Long selectcan;

    /** 指定收费项目Id */
    private Long freeItemId;

    /** 收费项目 */
    @Excel(name = "收费项目")
    private String itemName;

    /** 付款方式 */
    @Excel(name = "付款方式")
    private String payWay;

    /** 金额 */
    @Excel(name = "金额")
    private Long amount;

    /** 收款人 */
    @Excel(name = "收款人")
    private String payee;

    /** 收款时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "收款时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date paytime;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setShopId(Long shopId) 
    {
        this.shopId = shopId;
    }

    public Long getShopId() 
    {
        return shopId;
    }
    public void setClientId(Long clientId) 
    {
        this.clientId = clientId;
    }

    public Long getClientId() 
    {
        return clientId;
    }
    public void setClientName(String clientName) 
    {
        this.clientName = clientName;
    }

    public String getClientName() 
    {
        return clientName;
    }
    public void setStatus(Long status) 
    {
        this.status = status;
    }

    public Long getStatus() 
    {
        return status;
    }
    public void setSelectcan(Long selectcan)
    {
        this.selectcan = selectcan;
    }

    public Long getSelectcan()
    {
        return selectcan;
    }
    public void setFreeItemId(Long freeItemId) 
    {
        this.freeItemId = freeItemId;
    }

    public Long getFreeItemId() 
    {
        return freeItemId;
    }
    public void setItemName(String itemName) 
    {
        this.itemName = itemName;
    }

    public String getItemName() 
    {
        return itemName;
    }
    public void setPayWay(String payWay) 
    {
        this.payWay = payWay;
    }

    public String getPayWay() 
    {
        return payWay;
    }
    public void setAmount(Long amount) 
    {
        this.amount = amount;
    }

    public Long getAmount() 
    {
        return amount;
    }
    public void setPayee(String payee) 
    {
        this.payee = payee;
    }

    public String getPayee() 
    {
        return payee;
    }
    public void setPaytime(Date paytime) 
    {
        this.paytime = paytime;
    }

    public Date getPaytime() 
    {
        return paytime;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("shopId", getShopId())
            .append("clientId", getClientId())
            .append("clientName", getClientName())
            .append("status", getStatus())
            .append("select", getSelectcan())
            .append("freeItemId", getFreeItemId())
            .append("itemName", getItemName())
            .append("payWay", getPayWay())
            .append("amount", getAmount())
            .append("payee", getPayee())
            .append("paytime", getPaytime())
            .toString();
    }
}
